package com.speily.mythreadpool;

/**
 * @Auther: SPL
 * @Date: 2019-08-02 10:04
 * @Description: -
 */
public class Job implements Runnable {

    int count;

    public Job(int count) {
        this.count = count;
    }

    @Override
    public void run() {
        /*try {
            Thread.sleep(10000);//线程休眠10s
        } catch (InterruptedException e) {
            e.printStackTrace();
        }*/
        System.out.println(Thread.currentThread().getName() + "接收到Job，执行xxxx");
    }
}
